package com.fastloan.mgt.product.basics.model;

import com.kawins.base.baseabs.BaseModel;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author admins
 *         createTime 2017/11/06
 */
@Table(name = "ZY_PRODUCT_FILE")
public class ProductFile extends BaseModel<String>{

    /**
     * 文件id
     */
    @Id
    @Column(name = "FILE_ID")
    private String fileId;
    /**
     * 产品id
     */
    @Column(name = "PRODUCT_ID")
    private String productId;
    /**
     * 文件类型(0 普通文件, 1 logo
     */
    @Column(name = "TYPE")
    private Integer type;

    public String getFileId() {
        return this.fileId;
    }

    public ProductFile setFileId(String fileId) {
        this.fileId = fileId;
        return this;
    }

    public String getProductId() {
        return this.productId;
    }

    public ProductFile setProductId(String productId) {
        this.productId = productId;
        return this;
    }

    public Integer getType() {
        return this.type;
    }

    public ProductFile setType(Integer type) {
        this.type = type;
        return this;
    }
}
